package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_meeting", autoResultMap = true)
public class MeetingDO extends  BaseDO{
    @Field(name = "photo", type = FieldType.Text, analyzer="ik_max_word")
    private  String photo;
    @Field(name = "start_time", type = FieldType.Text, analyzer="ik_max_word")
    private  String startTime;
    @Field(name = "end_time", type = FieldType.Text, analyzer="ik_max_word")
    private  String endTime;
    @Field(name = "address", type = FieldType.Text, analyzer="ik_max_word")
    private  String address;
    @Field(name = "book_number", type = FieldType.Text, analyzer="ik_max_word")
    private  Integer bookNumber;
    @Field(name = "title", type = FieldType.Text, analyzer="ik_max_word")
    private  String title;
    @Field(name = "room_number", type = FieldType.Text, analyzer="ik_max_word")
    private  String roomNumber;
    @Field(name = "meeting_details", type = FieldType.Text, analyzer="ik_max_word")
    private  String meetingDetails;
    @Field(name = "basic_information", type = FieldType.Text, analyzer="ik_max_word")
    private  String basicInformation;
    @Field(name = "category", type = FieldType.Text, analyzer="ik_max_word")
    private  String category;
    @Field(name = "classify", type = FieldType.Text, analyzer="ik_max_word")
    private  String classify;
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
    private  String  username;
    @Field(name = "live_link", type = FieldType.Text, analyzer="ik_max_word")
    private  String liveLink;
    private  String host;
    private  String contractors;
    private  String assisted;
    private  String meetingContacts;
    private  String phone;
}
